package cn.ehanghai.iot.back.service;

import cn.ehanghai.iot.back.domain.SysUser;
import cn.ehanghai.iot.back.mapper.SysUserMapper;
import net.ryian.orm.service.BaseService;
import org.springframework.stereotype.Component;

/**
 * @Author: xumf
 * @Date: 2019/6/26 17:01
 */
@Component
public class SysUserService extends BaseService<SysUser, SysUserMapper> {

    public SysUser selectSysUserByUserName(String userName) {
        return mapper.getByUserName(userName);
    }
}
